package com.lcj.ssm.mapper;

import com.lcj.ssm.po.Filesource;
import com.lcj.ssm.po.FilesourceExample;
import com.lcj.ssm.po.FilesourceVO;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FilesourceMapper {
    int countByExample(FilesourceExample example);

    int deleteByExample(FilesourceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Filesource record);

    int insertSelective(Filesource record);

    List<Filesource> selectByExample(FilesourceExample example);

    Filesource selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Filesource record, @Param("example") FilesourceExample example);

    int updateByExample(@Param("record") Filesource record, @Param("example") FilesourceExample example);

    int updateByPrimaryKeySelective(Filesource record);

    int updateByPrimaryKey(Filesource record);
    
    List<Filesource> selectFileList(FilesourceVO fsVO);
    
    List<Filesource> selectImageList(FilesourceVO fsVO);
    
    int selectFileTotalCount();
    
    int selectImageTotalCount();
}